<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body bgcolor="pink" >
		<%
		if(session.getAttribute("user")!=null){
			out.println("恭喜您,登录成功!");%>
			&nbsp;&nbsp;<a href="loginout.jsp">注销用户</a>
		<%}else{
			response.sendRedirect("login.jsp");
		}%>
		
		
	
</body>
</html>